From 9072be16a4b5e5a800f6f3207f7c2531a366c6b6 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 30 Jul 2013 11:11:16 +0800 Subject: [PATCH] gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs ...this was split into two commits as this source file has different line endings (for some reason) from the other GDK-Win32 source files that were updated in the quest to refrain from using deprecated APIs --- gdk/win32/gdkdevice-virtual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c index 028a8f5c51..8a77ebf501 100644 --- a/gdk/win32/gdkdevice-virtual.c +++ b/gdk/win32/gdkdevice-virtual.c @@ -180,7 +180,7 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device, if (hcursor != NULL) { /* If the pointer is over our window, set new cursor */ - GdkWindow *curr_window = gdk_window_get_pointer (window, NULL, NULL, NULL); + GdkWindow *curr_window = gdk_window_get_device_position (window, device, NULL, NULL, NULL); if (curr_window == window || (curr_window && window == gdk_window_get_toplevel (curr_window))) -- 2.30.2